package PhaseoneModuletwo.TheThirdQuestion.code;

public class Test {
    public static void main(String[] args) {
        CarType ct = CarType.bigCard;
        //实例化SIMCard类
        SIMCard simCard = new SIMCard();
        //把枚举类的卡类型赋值给手机类的CardType
        simCard.setCardType(ct.getName());
        simCard.setCardId("18300000000");
        simCard.setUserName("小黑马");
        simCard.setPassWord("bigdata");
        simCard.setBalance("21.00");
        simCard.setTalkTime("39");
        simCard.setFlow("500G");

        simCard.show();

        InterService is = new InterServiceImpl();
        is.show1("2121",simCard);
    }
}
